StoreEngine\Classes\Countries C

Total Complexity 110
Dependencies 2
Dependents 10
Total lines 1,694
Lines of code 1,307
Logical lines of code 200
Comment lines 274
Methods 34
Properties 3

Methods 34

Method Rating Maintainability Complexity Lines of code
get_country_locale()
D
13
3 813
country_dropdown_options()
A
50 13 27
get_formatted_address()
A
39 9 68
get_default_address_fields()
A
37 4 89
get_address_fields()
A
45 7 43
get_allowed_countries()
S
54 7 21
get_shipping_country_states()
S
56 6 18
get_shipping_countries()
S
56 6 18
get_allowed_country_states()
S
59 5 15
get_address_formats()
S
44 2 48
__get()
S
64 4 10
get_states()
S
63 4 10
shipping_to_prefix()
S
62 4 9
get_shipping_continents()
S
61 3 12
get_country_calling_code()
S
61 3 12
get_continent_code_for_country()
S
62 3 11
get_countries()
S
64 3 9
estimated_for_prefix()
S
67 3 6
tax_or_vat()
S
73 2 4
get_continents()
S
69 2 6
get_european_union_countries()
S
64 2 7
inc_tax_or_vat()
S
73 2 4
ex_tax_or_vat()
S
73 2 4
get_country()
S
79 1 3
get_country_locale_field_selectors()
S
65 1 9
country_exists()
S
79 1 3
trim_formatted_address_line()
S
79 1 3
get_base_city()
S
78 1 3
get_base_country()
S
78 1 3
get_base_postcode()
S
78 1 3
get_base_address_2()
S
75 1 4
get_vat_countries()
S
66 1 5
get_base_state()
S
78 1 3
get_base_address()
S
75 1 4